package com.green.common.weibo4j.model;

import java.io.Serializable;
import java.util.List;

/**
 * 单个微博消息
 *
 * @author Lineshow
 *
 * @since 2012-5-30
 */
public class SingleMessage implements Serializable {

	private static final long serialVersionUID = 4264608973755388301L;
	private String id;
	private String text; // 微博正文
	private String smallPic;// 微博中图像缩略图地址
	private String middlePic;// 微博中中型图像地址
	private String originalPic; // 原图像地址
	private List<Comment> comments;// 评论
	private Author createBy;
	private String createAt;// 该条微博用户信息
	private Integer commentCount; // 评论数
	private Integer transmitCount; // 转发数
	private Integer isTransmit; // 该消息是否属于转发 0:否 1:是
	private SingleMessage transmintMessage; // 被转发消息

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getText() {
		return text;
	}

	public String getSmallPic() {
		return smallPic;
	}

	public void setSmallPic(String smallPic) {
		this.smallPic = smallPic;
	}

	public String getMiddlePic() {
		return middlePic;
	}

	public void setMiddlePic(String middlePic) {
		this.middlePic = middlePic;
	}

	public String getOriginalPic() {
		return originalPic;
	}

	public void setOriginalPic(String originalPic) {
		this.originalPic = originalPic;
	}

	public Integer getIsTransmit() {
		return isTransmit;
	}

	public void setIsTransmit(Integer isTransmit) {
		this.isTransmit = isTransmit;
	}

	public SingleMessage getTransmintMessage() {
		return transmintMessage;
	}

	public void setTransmintMessage(SingleMessage transmintMessage) {
		this.transmintMessage = transmintMessage;
	}


	public void setText(String text) {
		this.text = text;
	}

	public List<Comment> getComments() {
		return comments;
	}

	public void setComments(List<Comment> comments) {
		this.comments = comments;
	}

	public String getCreateAt() {
		return createAt;
	}

	public void setCreateAt(String createAt) {
		this.createAt = createAt;
	}

	public Integer getCommentCount() {
		return commentCount;
	}

	public void setCommentCount(Integer commentCount) {
		this.commentCount = commentCount;
	}

	public Integer getTransmitCount() {
		return transmitCount;
	}

	public void setTransmitCount(Integer transmitCount) {
		this.transmitCount = transmitCount;
	}

	public Author getCreateBy() {
		return createBy;
	}

	public void setCreateBy(Author createBy) {
		this.createBy = createBy;
	}

}
